package com.hht.study.splitDataBase.mapper;

import com.hht.study.splitDataBase.po.TicketDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hht
 * @date 2022/3/15
 */
public interface TicketMapper {

    TicketDO selectById(@Param("id")Long id);

    List<TicketDO> selectByUserId(@Param("userId")Long userId);

    void insert(TicketDO ticketDO);
}
